﻿<%@ Page Title="最新动态 - 莆田市闽中广告装饰有限公司" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="NewsList.aspx.cs" Inherits="NewsList" %>

<%@ Register src="UserControl/ucAds.ascx" tagname="ucAds" tagprefix="uc1" %>

<%@ Register src="UserControl/ucMenu.ascx" tagname="ucMenu" tagprefix="uc2" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="CssFile/product.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="ads_s" class="block">
    <uc1:ucAds ID="ucAds1" runat="server" />
    <div class="map">
        <span>您现在的位置： <a href="Default.aspx">首页</a> > 最新动态</span>
    </div>
</div>
<div id="news" class="block clearfix">
    <div class="left">
        <div class="block_header">
            <span>最新动态</span>
        </div>
        <div class="block_body">
            <ul>
                <asp:Repeater ID="rptNews" runat="server">
                    <ItemTemplate>
                        <li><span class="news_title"><a href='Detail.aspx?id=<%# Eval("ArticalId") %>'><%# Eval("ArticalTitle")%></a></span><span class="right tar"><%# Eval("AddDate","{0:yyyy-MM-dd}")%></span></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
            <div class="page">
                <webdiyer:AspNetPager ID="anpList" runat="server" ShowPageIndexBox="always" FirstPageText="首页" LastPageText="尾页"
                            NextPageText="下一页" PrevPageText="上一页" ShowPageIndex="False" ShowInputBox="Always"
                            TextAfterInputBox="页" TextBeforeInputBox="转到" SubmitButtonText="Go" PageSize="20"
                    onpagechanged="anpList_PageChanged"></webdiyer:AspNetPager>
            </div>
        </div>
    </div>
    <div id="s_menu" class="right">
        <uc2:ucMenu ID="ucMenu1" runat="server" />
    </div>
</div>
</asp:Content>

